package com.hekang.buttontest;

import android.graphics.drawable.Drawable;

/**
 * Created by hekang on 2018/9/3.
 */

public class Food {
    private String name;
    private boolean cb_hot;
    private boolean cb_seafood;
    private boolean cb_acid;
    private int price;
    private int pic;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isCb_hot() {
        return cb_hot;
    }

    public void setCb_hot(boolean cb_hot) {
        this.cb_hot = cb_hot;
    }

    public boolean isCb_seafood() {
        return cb_seafood;
    }

    public void setCb_seafood(boolean cb_seafood) {
        this.cb_seafood = cb_seafood;
    }

    public boolean isCb_acid() {
        return cb_acid;
    }

    public void setCb_acid(boolean cb_acid) {
        this.cb_acid = cb_acid;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getPic() {
        return pic;
    }

    public void setPic(int pic) {
        this.pic = pic;
    }


    public Food(String name, int price, int pic, boolean cb_hot, boolean cb_seafood, boolean cb_acid) {
        this.name = name;
        this.cb_hot = cb_hot;
        this.cb_seafood = cb_seafood;
        this.cb_acid = cb_acid;
        this.price = price;
        this.pic = pic;
    }

    @Override
    public String toString() {
        return "Food{" +
                "name='" + name + '\'' +
                ", cb_hot=" + cb_hot +
                ", cb_seafood=" + cb_seafood +
                ", cb_acid=" + cb_acid +
                ", price=" + price +
                ", pic=" + pic +
                '}';
    }
}
